package com.io.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import org.springframework.validation.annotation.Validated;

/**
 * The class/interface
 *
 * @author guodd
 * @version 1.0 use jdk 1.8
 */
@Component
@ConfigurationProperties(prefix = "hk")
@Validated
public class HKInfoProperties {
    /**
     * 属性描述：平台的ip端口
     */
    private String host;
    /**
     * 属性描述：密钥appkey
     */
    private String appKey;

    /**
     * 属性描述：密钥appSecret
     */
    private String appSecret;

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }
}
